iMacrosControlGetPerformanceData Method

iMacros Component
Gets the performance data stored by the player by STOPWATCH commands.

Namespace:  iMacros.Component
Assembly:  iMacros.Component (in iMacros.Component.dll) Version: 12.0.501.6698
Syntax

public void GetPerformanceData(
	int index,
	out string label,
	out TimeSpan elapsedTime
)

Parameters

index
Type: SystemInt32
The index to the desired pair label (or id) and stopwatch timer. A value of 0 refers to the total runtime, with label "[MacroTotalRuntime]"
label
Type: SystemString
(out) A string to store the label (or id).
elapsedTime
Type: SystemTimeSpan
(out) The TimeSpan which will contain the elapsed time.
Remarks

If a stopwatch timer with label or id "[MacroTotalRuntime]" was added to the performance data during playback, index = 0 will give the total runtime, but the label will be a string in the format "[MacroTotalRuntime]_mmm", where mmm is the milliseconds part of the total elapsed time.
See Also

Reference